# 鼠标右击
import time

from selenium import webdriver
from selenium.webdriver.common.action_chains import ActionChains
driver = webdriver.Chrome()
driver.get("https://www.baidu.com/")
driver.find_element_by_id("kw").send_keys("勇气")
ssu = driver.find_element_by_id("su")

ActionChains(driver).context_click(ssu).perform()
time.sleep(3)
driver.quit()

